 $(document).ready(function(){
          
            //图片切换
            var imgLen = 0;
            var figure=0; 
            var picTimer; 
            
            $(".group_list").hover(function() {
                    clearInterval(picTimer);
            },function() {
               
                  var obj = $(this).parent();
                      imgLen =obj.find(".autonum").attr('auto-length'); 
                      picTimer = setInterval(function() { 
                        figure= obj.find('.autonum').attr('auto-site');
                        figure=figure*1 + 2;
                        if(figure > imgLen) {  
                            figure = 0; 
                        }  
                        showPics(obj,figure);
                    },5000);
                
            }).trigger("mouseleave");
             
            $('.gtBtn').click(function(){ 
                var obj = $(this).parent().parent().parent().parent().parent() ;
                      imgLen =obj.find(".group_show").length;
                figure= obj.find('.autonum').attr('auto-site');
                figure=figure*1 + 2;
                if(figure >= imgLen) {  
                    figure = 0; 
                }  
                showPics(obj,figure);   
            })
            $('.ltBtn').click(function(){ 
                var obj = $(this).parent().parent().parent().parent().parent() ;
                      imgLen =obj.find(".group_show").length;
                figure = obj.find('.autonum').attr('auto-site');
                figure = figure-2;  
                if(figure < 0) {   
                    figure = imgLen-2; 
                }  
                showPics(obj,figure);   
            }) 
      })    
        function showPics(obj,figure) {
            var imgWidth = $(".group_show").width();
                obj.find('.autonum').text(figure/2+1);
                obj.find('.autonum').attr('auto-site',figure); 
                var nowLeft = - figure * (imgWidth*1 + 20)  ;
                obj.find(".group_list").stop(true,false).animate({"left":nowLeft}, 500);
    //		$("#prouducts-banner .prouducts-triggers span").removeClass("one").eq(figure).addClass("one"); 

        }